package org.taobao.ibatiside.core.genmodel;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;

public final class DataObjectGenModel {
	private String pkg;
	private String name;
	private String description;
	private List<String> imports = new ArrayList<String>();
	public boolean add(String e) {
		return imports.add(e);
	}
	private Map<String, String> fields = new TreeMap<String, String>();
	public String put(String key, String value) {
		return fields.put(key, value);
	}
	public String getPkg() {
		return pkg;
	}
	public void setPkg(String pkg) {
		this.pkg = pkg;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Map<String, String> getFields() {
		return fields;
	}
	public List<String> getImports() {
		return imports;
	}
	
}
